package com.huayun.code.gen;

import com.huayun.code.core.gen.AbstractGenerator;
import com.huayun.code.core.gen.AbstractTableGenerator;
import org.springframework.stereotype.Component;

@Component
public class XmlMapperGen extends AbstractTableGenerator {

    @Override
    public String getFileName() {
        return table.getClazzName() + "Mapper.xml";
    }

    @Override
    public String getType() {
        return AbstractGenerator.SQL_MAPPER;
    }
}
